(ns tpl
  (use clojure.contrib.str-utils)
 )

(defn do-tpl
  [string]
  (re-gsub #"${(\S+)}" #(eval (% 1)) string)
  )

